package com.caopeng.javaee.service;

import com.caopeng.javaee.entity.student;
import com.caopeng.javaee.entity.teacher;

import java.util.List;

public interface LoginService {
    List<teacher> TfindByAccountAndPassword(String account,String password);
    student SfindByAccountAndPassword(String account,String password);
    teacher TfindByAccountAndPhone(String account,String phone);
    student SfindByAccountAndPhone(String account,String phone);

}
